package com.bindapp.activity;

import com.bindapp.model.ShowImgStyleModel;

/**
 * Created by apple on 2018/7/21.
 */

public class ShowImgStyleActivity extends BaseActivity {
    private ShowImgStyleModel model;

    @Override
    protected void after() {
        super.after();
        switch(getIntent().getIntExtra(("type"),0)){
            case 0:
                handerBackToolar("现代款系列");
                break;
            case 1:
                handerBackToolar("卡通款系列");
                break;
            case 2:
                handerBackToolar("经典款系列");
                break;
        }
        model=new ShowImgStyleModel(this,getIntent().getIntExtra(("type"),0));
        AddContentView(model.getBinding().getRoot());
    }
}
